#ifndef REG_H
#define REG_H

#include <QWidget>
#include<QTimerEvent>
#include<QCloseEvent>

namespace Ui {
class reg;
}

class reg : public QWidget
{
    Q_OBJECT

public:
    explicit reg(QWidget *parent = nullptr);
    ~reg();
    void closeEvent(QCloseEvent *) ;
        Ui::reg *ui;
        QString name;


signals:
    void cancle();
    void regok(QString str1,QString str2,QString str3,QString str4);
private:

protected:
    void timerEvent(QTimerEvent *);

private slots:
    void on_regok_clicked();
};

#endif // REG_H
